﻿using Mimas.Framework.Shared.Data.CriteriaObjects;
using Mimas.Framework.Shared.Data.DataTransferObjects;
using Mimas.HRM.Mvc.UI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Mimas.HRM.Mvc.Application.Controllers
{
    public class HomeController : HRMControllerBase
    {
        public ActionResult Index()
        {
          ViewBag.Title = "Mimas HRM";
            TownDTO[] model = new TownDTO[]{};
            model = svcConstantManager.SearchTowns(new TownCO() { GetChildren= true });
            return View(model);
        }

        public ActionResult About()
        { 
        return View();
        }

        public ActionResult Contact()
        {
          return View();
        }

    }
}